package com.wechat.shopping.mall.category.repository;

import com.wechat.shopping.mall.bean.po.WechatShoppingCategories;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface CategoryMapper {
    /**
     * 查询某一菜单
     * @param categoryId
     * @param type
     * @return
     */
    List<WechatShoppingCategories> getCategoriesByType(@Param("categoryId") Integer categoryId,
                                                       @Param("type")Byte type);
}
